﻿using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Msung.Core.Extensions
{
    public static class ILoggerExtensions
    {
        public static void logInfo(this ILogger logger, string messgae)
        {
            if (true)
            {
                logger.LogInformation($"[{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss ffff")}]   {messgae}");
            }
        }

    }
}
